home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF Extension bug?
- Sent: 9/11/96 10:25 AM
- Received: 9/11/96 10:25 AM
- From: Erlend.Stav@informatics.sintef.no
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- I have had some probl. related to ODF´s extension mngr during release (document closedown), and wonder if it might be a bug in ODF.
-
- I have traced the problem down to the following :
- - the SOMPart first deletes the ext. mngr, then the FWPart
- - the FWPart still has a pointer to the (now invalid) ext. mngr
- - my FWPart (subclass) member variable triggers a ReleaseExtension
- - ReleaseExtension tries to access the non-null, but invalid ext. mngr
-
- A workaround that seems to work is to do PrivSetExtensionManager(NULL) as the first thing in my FWParts destructor.
-
- Could someone confirm this to be a bug, or am I doing something wrong?
-
- - Erlend
-
- ---------------------------------------------------------
- Erlend Stav Ph. SINTEF Oslo : (+47) 22067441
- Hans Osnes v. 8 Ph. SINTEF Tr.heim : (+47) 73590371
- N-7030 Trondheim Ph. Home Tr.heim : (+47) 73945382
- NORWAY E-mail : erlend.stav@informatics.sintef.no